#!/usr/bin/env python


def main(year):
    while year <= 2011:
        if year % 100 != 0:
            if year % 4 == 0:
                print 'Years : %s' % year
        elif year % 400 == 0:
            print 'Years : %s' % year
        else:
            pass

        year += 1

if __name__ == '__main__':
    main(1800)
